schedule function lv:time/1s 1s
scoreboard players add @a times 1
execute if score @e[name="jishi",limit=1] times matches 60..1231233 run scoreboard players add @e[name="jishi",limit=1] timem 1
execute if score @e[name="jishi",limit=1] times matches 60..1231233 run scoreboard players set @e[name="jishi",limit=1] times 0
execute if score @e[name="jishi",limit=1] timem matches 60..1231233 run scoreboard players add @e[name="jishi",limit=1] timeh 1
execute if score @e[name="jishi",limit=1] timem matches 60..1231233 run scoreboard players set @e[name="jishi",limit=1] timem 0
execute if score @e[name="jishi",limit=1] times matches 24..1231233 run function lv:time/re
execute if score @e[name="jishi",limit=1] times matches 24..1231233 run scoreboard players set @e[name="jishi",limit=1] timeh 0